<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:CommonLib.Windows"
	xmlns:c="clr-namespace:CommonLib">

	<Style
		TargetType="{x:Type local:DialogWindow}">
		<Setter
			Property="Background"
			Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" />
		<Setter
			Property="Template">
			<Setter.Value>
				<ControlTemplate
					TargetType="{x:Type local:DialogWindow}">
					<Grid
						Background="{TemplateBinding Background}">
						<Grid.RowDefinitions>
							<RowDefinition
								Height="*" />
							<RowDefinition
								Height="44" />
						</Grid.RowDefinitions>
						<AdornerDecorator>
							<ContentPresenter />
						</AdornerDecorator>
						<Button
							Content="{x:Static c:CommStr.CANCEL}"
							HorizontalAlignment="Right"
							Margin="0,8,8,8"
							Name="BtnCancel"
							Width="80"
							Grid.Row="1" />
						<Button
							Content="{x:Static c:CommStr.OK}"
							Margin="0,8,94,8"
							Name="BtnOk"
							HorizontalAlignment="Right"
							Width="80"
							Grid.Row="1" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>
